package com.citcc.business.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CdzChargingEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public CdzChargingEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andStakeCodeIsNull() {
            addCriterion("STAKE_CODE is null");
            return (Criteria) this;
        }

        public Criteria andStakeCodeIsNotNull() {
            addCriterion("STAKE_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andStakeCodeEqualTo(String value) {
            addCriterion("STAKE_CODE =", value, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andStakeCodeNotEqualTo(String value) {
            addCriterion("STAKE_CODE <>", value, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andStakeCodeGreaterThan(String value) {
            addCriterion("STAKE_CODE >", value, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andStakeCodeGreaterThanOrEqualTo(String value) {
            addCriterion("STAKE_CODE >=", value, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andStakeCodeLessThan(String value) {
            addCriterion("STAKE_CODE <", value, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andStakeCodeLessThanOrEqualTo(String value) {
            addCriterion("STAKE_CODE <=", value, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andStakeCodeLike(String value) {
            addCriterion("STAKE_CODE like", value, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andStakeCodeNotLike(String value) {
            addCriterion("STAKE_CODE not like", value, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andStakeCodeIn(List<String> values) {
            addCriterion("STAKE_CODE in", values, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andStakeCodeNotIn(List<String> values) {
            addCriterion("STAKE_CODE not in", values, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andStakeCodeBetween(String value1, String value2) {
            addCriterion("STAKE_CODE between", value1, value2, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andStakeCodeNotBetween(String value1, String value2) {
            addCriterion("STAKE_CODE not between", value1, value2, "stakeCode");
            return (Criteria) this;
        }

        public Criteria andGunNumIsNull() {
            addCriterion("GUN_NUM is null");
            return (Criteria) this;
        }

        public Criteria andGunNumIsNotNull() {
            addCriterion("GUN_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andGunNumEqualTo(String value) {
            addCriterion("GUN_NUM =", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumNotEqualTo(String value) {
            addCriterion("GUN_NUM <>", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumGreaterThan(String value) {
            addCriterion("GUN_NUM >", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumGreaterThanOrEqualTo(String value) {
            addCriterion("GUN_NUM >=", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumLessThan(String value) {
            addCriterion("GUN_NUM <", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumLessThanOrEqualTo(String value) {
            addCriterion("GUN_NUM <=", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumLike(String value) {
            addCriterion("GUN_NUM like", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumNotLike(String value) {
            addCriterion("GUN_NUM not like", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumIn(List<String> values) {
            addCriterion("GUN_NUM in", values, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumNotIn(List<String> values) {
            addCriterion("GUN_NUM not in", values, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumBetween(String value1, String value2) {
            addCriterion("GUN_NUM between", value1, value2, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumNotBetween(String value1, String value2) {
            addCriterion("GUN_NUM not between", value1, value2, "gunNum");
            return (Criteria) this;
        }

        public Criteria andSocIsNull() {
            addCriterion("SOC is null");
            return (Criteria) this;
        }

        public Criteria andSocIsNotNull() {
            addCriterion("SOC is not null");
            return (Criteria) this;
        }

        public Criteria andSocEqualTo(String value) {
            addCriterion("SOC =", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocNotEqualTo(String value) {
            addCriterion("SOC <>", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocGreaterThan(String value) {
            addCriterion("SOC >", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocGreaterThanOrEqualTo(String value) {
            addCriterion("SOC >=", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocLessThan(String value) {
            addCriterion("SOC <", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocLessThanOrEqualTo(String value) {
            addCriterion("SOC <=", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocLike(String value) {
            addCriterion("SOC like", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocNotLike(String value) {
            addCriterion("SOC not like", value, "soc");
            return (Criteria) this;
        }

        public Criteria andSocIn(List<String> values) {
            addCriterion("SOC in", values, "soc");
            return (Criteria) this;
        }

        public Criteria andSocNotIn(List<String> values) {
            addCriterion("SOC not in", values, "soc");
            return (Criteria) this;
        }

        public Criteria andSocBetween(String value1, String value2) {
            addCriterion("SOC between", value1, value2, "soc");
            return (Criteria) this;
        }

        public Criteria andSocNotBetween(String value1, String value2) {
            addCriterion("SOC not between", value1, value2, "soc");
            return (Criteria) this;
        }

        public Criteria andDyIsNull() {
            addCriterion("DY is null");
            return (Criteria) this;
        }

        public Criteria andDyIsNotNull() {
            addCriterion("DY is not null");
            return (Criteria) this;
        }

        public Criteria andDyEqualTo(String value) {
            addCriterion("DY =", value, "dy");
            return (Criteria) this;
        }

        public Criteria andDyNotEqualTo(String value) {
            addCriterion("DY <>", value, "dy");
            return (Criteria) this;
        }

        public Criteria andDyGreaterThan(String value) {
            addCriterion("DY >", value, "dy");
            return (Criteria) this;
        }

        public Criteria andDyGreaterThanOrEqualTo(String value) {
            addCriterion("DY >=", value, "dy");
            return (Criteria) this;
        }

        public Criteria andDyLessThan(String value) {
            addCriterion("DY <", value, "dy");
            return (Criteria) this;
        }

        public Criteria andDyLessThanOrEqualTo(String value) {
            addCriterion("DY <=", value, "dy");
            return (Criteria) this;
        }

        public Criteria andDyLike(String value) {
            addCriterion("DY like", value, "dy");
            return (Criteria) this;
        }

        public Criteria andDyNotLike(String value) {
            addCriterion("DY not like", value, "dy");
            return (Criteria) this;
        }

        public Criteria andDyIn(List<String> values) {
            addCriterion("DY in", values, "dy");
            return (Criteria) this;
        }

        public Criteria andDyNotIn(List<String> values) {
            addCriterion("DY not in", values, "dy");
            return (Criteria) this;
        }

        public Criteria andDyBetween(String value1, String value2) {
            addCriterion("DY between", value1, value2, "dy");
            return (Criteria) this;
        }

        public Criteria andDyNotBetween(String value1, String value2) {
            addCriterion("DY not between", value1, value2, "dy");
            return (Criteria) this;
        }

        public Criteria andDlIsNull() {
            addCriterion("DL is null");
            return (Criteria) this;
        }

        public Criteria andDlIsNotNull() {
            addCriterion("DL is not null");
            return (Criteria) this;
        }

        public Criteria andDlEqualTo(String value) {
            addCriterion("DL =", value, "dl");
            return (Criteria) this;
        }

        public Criteria andDlNotEqualTo(String value) {
            addCriterion("DL <>", value, "dl");
            return (Criteria) this;
        }

        public Criteria andDlGreaterThan(String value) {
            addCriterion("DL >", value, "dl");
            return (Criteria) this;
        }

        public Criteria andDlGreaterThanOrEqualTo(String value) {
            addCriterion("DL >=", value, "dl");
            return (Criteria) this;
        }

        public Criteria andDlLessThan(String value) {
            addCriterion("DL <", value, "dl");
            return (Criteria) this;
        }

        public Criteria andDlLessThanOrEqualTo(String value) {
            addCriterion("DL <=", value, "dl");
            return (Criteria) this;
        }

        public Criteria andDlLike(String value) {
            addCriterion("DL like", value, "dl");
            return (Criteria) this;
        }

        public Criteria andDlNotLike(String value) {
            addCriterion("DL not like", value, "dl");
            return (Criteria) this;
        }

        public Criteria andDlIn(List<String> values) {
            addCriterion("DL in", values, "dl");
            return (Criteria) this;
        }

        public Criteria andDlNotIn(List<String> values) {
            addCriterion("DL not in", values, "dl");
            return (Criteria) this;
        }

        public Criteria andDlBetween(String value1, String value2) {
            addCriterion("DL between", value1, value2, "dl");
            return (Criteria) this;
        }

        public Criteria andDlNotBetween(String value1, String value2) {
            addCriterion("DL not between", value1, value2, "dl");
            return (Criteria) this;
        }

        public Criteria andDnIsNull() {
            addCriterion("DN is null");
            return (Criteria) this;
        }

        public Criteria andDnIsNotNull() {
            addCriterion("DN is not null");
            return (Criteria) this;
        }

        public Criteria andDnEqualTo(String value) {
            addCriterion("DN =", value, "dn");
            return (Criteria) this;
        }

        public Criteria andDnNotEqualTo(String value) {
            addCriterion("DN <>", value, "dn");
            return (Criteria) this;
        }

        public Criteria andDnGreaterThan(String value) {
            addCriterion("DN >", value, "dn");
            return (Criteria) this;
        }

        public Criteria andDnGreaterThanOrEqualTo(String value) {
            addCriterion("DN >=", value, "dn");
            return (Criteria) this;
        }

        public Criteria andDnLessThan(String value) {
            addCriterion("DN <", value, "dn");
            return (Criteria) this;
        }

        public Criteria andDnLessThanOrEqualTo(String value) {
            addCriterion("DN <=", value, "dn");
            return (Criteria) this;
        }

        public Criteria andDnLike(String value) {
            addCriterion("DN like", value, "dn");
            return (Criteria) this;
        }

        public Criteria andDnNotLike(String value) {
            addCriterion("DN not like", value, "dn");
            return (Criteria) this;
        }

        public Criteria andDnIn(List<String> values) {
            addCriterion("DN in", values, "dn");
            return (Criteria) this;
        }

        public Criteria andDnNotIn(List<String> values) {
            addCriterion("DN not in", values, "dn");
            return (Criteria) this;
        }

        public Criteria andDnBetween(String value1, String value2) {
            addCriterion("DN between", value1, value2, "dn");
            return (Criteria) this;
        }

        public Criteria andDnNotBetween(String value1, String value2) {
            addCriterion("DN not between", value1, value2, "dn");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("TIME is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("TIME is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(String value) {
            addCriterion("TIME =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(String value) {
            addCriterion("TIME <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(String value) {
            addCriterion("TIME >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(String value) {
            addCriterion("TIME >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(String value) {
            addCriterion("TIME <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(String value) {
            addCriterion("TIME <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLike(String value) {
            addCriterion("TIME like", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotLike(String value) {
            addCriterion("TIME not like", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<String> values) {
            addCriterion("TIME in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<String> values) {
            addCriterion("TIME not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(String value1, String value2) {
            addCriterion("TIME between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(String value1, String value2) {
            addCriterion("TIME not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andSyTimeIsNull() {
            addCriterion("SY_TIME is null");
            return (Criteria) this;
        }

        public Criteria andSyTimeIsNotNull() {
            addCriterion("SY_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andSyTimeEqualTo(String value) {
            addCriterion("SY_TIME =", value, "syTime");
            return (Criteria) this;
        }

        public Criteria andSyTimeNotEqualTo(String value) {
            addCriterion("SY_TIME <>", value, "syTime");
            return (Criteria) this;
        }

        public Criteria andSyTimeGreaterThan(String value) {
            addCriterion("SY_TIME >", value, "syTime");
            return (Criteria) this;
        }

        public Criteria andSyTimeGreaterThanOrEqualTo(String value) {
            addCriterion("SY_TIME >=", value, "syTime");
            return (Criteria) this;
        }

        public Criteria andSyTimeLessThan(String value) {
            addCriterion("SY_TIME <", value, "syTime");
            return (Criteria) this;
        }

        public Criteria andSyTimeLessThanOrEqualTo(String value) {
            addCriterion("SY_TIME <=", value, "syTime");
            return (Criteria) this;
        }

        public Criteria andSyTimeLike(String value) {
            addCriterion("SY_TIME like", value, "syTime");
            return (Criteria) this;
        }

        public Criteria andSyTimeNotLike(String value) {
            addCriterion("SY_TIME not like", value, "syTime");
            return (Criteria) this;
        }

        public Criteria andSyTimeIn(List<String> values) {
            addCriterion("SY_TIME in", values, "syTime");
            return (Criteria) this;
        }

        public Criteria andSyTimeNotIn(List<String> values) {
            addCriterion("SY_TIME not in", values, "syTime");
            return (Criteria) this;
        }

        public Criteria andSyTimeBetween(String value1, String value2) {
            addCriterion("SY_TIME between", value1, value2, "syTime");
            return (Criteria) this;
        }

        public Criteria andSyTimeNotBetween(String value1, String value2) {
            addCriterion("SY_TIME not between", value1, value2, "syTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("CREATE_BY is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("CREATE_BY is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("CREATE_BY =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("CREATE_BY <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("CREATE_BY >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_BY >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("CREATE_BY <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("CREATE_BY <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("CREATE_BY like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("CREATE_BY not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("CREATE_BY in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("CREATE_BY not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("CREATE_BY between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("CREATE_BY not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("UPDATE_BY is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("UPDATE_BY is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("UPDATE_BY =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("UPDATE_BY <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("UPDATE_BY >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_BY >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("UPDATE_BY <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_BY <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("UPDATE_BY like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("UPDATE_BY not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("UPDATE_BY in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("UPDATE_BY not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("UPDATE_BY between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("UPDATE_BY not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("REMARK is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("REMARK =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("REMARK <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("REMARK >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("REMARK >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("REMARK <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("REMARK <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("REMARK like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("REMARK not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("REMARK in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("REMARK not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("REMARK between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("REMARK not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("DEL_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("DEL_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("DEL_FLAG =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("DEL_FLAG <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("DEL_FLAG >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("DEL_FLAG >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("DEL_FLAG <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("DEL_FLAG <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("DEL_FLAG like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("DEL_FLAG not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("DEL_FLAG in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("DEL_FLAG not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("DEL_FLAG between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("DEL_FLAG not between", value1, value2, "delFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}